package oojo.data.spec;

import oojo.data.Query;

/**
 * Delete an entity.
 */
public class Delete<E> implements Query<E, E> {

    private Object id;
    
    public Delete() {}
    
    public Delete(Object id) {
        setId(id);
    }
    
    /**
     * The id of the entity to delete.
     */
    public Object getId() {
        return id;
    }
    
    public void setId(Object id) {
        this.id = id;
    }
}
